Format Date in Dropdown
Question
You can find this question from this link 👉Date format changed when appended to list
Answer
You can find the solution to the question from the video below
The Parameters for the Workflow are given below

The Code Snippet is as follows
clear Ideal_Start_Date;
all_dates = Add_Upcoming_Cohorts[Programme == input.Programme].Start_Date.getAll();
date_list = List();
for each d in all_dates
{
date_list.add(d.toString("MMM dd yyyy"));
}
input.Ideal_Start_Date:ui.add(date_list);
show Ideal_Start_Date;




